package com.woniu.outpatient.mapper;

import java.util.List;
import com.woniu.outpatient.domain.Registrationtype;

/**
 * 就诊类型表Mapper接口
 * 
 * @author wolf-six
 * @date 2023-02-15
 */
public interface RegistrationtypeMapper 
{
    /**
     * 查询就诊类型表
     * 
     * @param registrationtypeId 就诊类型表主键
     * @return 就诊类型表
     */
    public Registrationtype selectRegistrationtypeByRegistrationtypeId(Long registrationtypeId);

    /**
     * 查询就诊类型表列表
     * 
     * @param registrationtype 就诊类型表
     * @return 就诊类型表集合
     */
    public List<Registrationtype> selectRegistrationtypeList(Registrationtype registrationtype);

    /**
     * 新增就诊类型表
     * 
     * @param registrationtype 就诊类型表
     * @return 结果
     */
    public int insertRegistrationtype(Registrationtype registrationtype);

    /**
     * 修改就诊类型表
     * 
     * @param registrationtype 就诊类型表
     * @return 结果
     */
    public int updateRegistrationtype(Registrationtype registrationtype);

    /**
     * 删除就诊类型表
     * 
     * @param registrationtypeId 就诊类型表主键
     * @return 结果
     */
    public int deleteRegistrationtypeByRegistrationtypeId(Long registrationtypeId);

    /**
     * 批量删除就诊类型表
     * 
     * @param registrationtypeIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteRegistrationtypeByRegistrationtypeIds(Long[] registrationtypeIds);
}
